export class Size {
    private _width: number = 0;
    private _height: number = 0;
    constructor(width: number = 0, height: number = 0) {
        this._width = width;
        this._height = height;
    }
    public get width() {
        return this._width;
    }
    public set width(value: number) {
        this._width = value;
    }
    public get height() {
        return this._height;
    }
    public set height(value: number) {
        this._height = value;
    }
    public isEmpty() {
        return this.width * this.height === 0;
    }
    public static get Empty() {
        return new Size();
    }
}